package org.grow.present.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName ExpensesAnalysis
 */
@TableName(value ="ExpensesAnalysis")
@Data
public class ExpensesAnalysis implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "departmentFk")
    private String departmentFk;

    /**
     * 
     */
    @TableField(value = "naturalMonth")
    private LocalDate naturalMonth;

    /**
     * 
     */
    @TableField(value = "expenses")
    private BigDecimal expenses;

    /**
     * 
     */
    @TableField(value = "version")
    @Version
    private Integer version = 0;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}